package com.ling.pl.security.model;

import com.ling.pl.core.model.impl.BaseEntity;

/**
 * Created by builder
 */
public class RoleMemberVO extends BaseEntity {

    String id;
    String orgId;
    String positionId;
    String roleId;
    boolean granted;
    String username;
    DefaultUserVO user;
    String groupId;
    DefaultGroupVO group;
    DefaultOrgVO org;
    DefaultPositionVO position;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public boolean getGranted() {
        return granted;
    }

    public void setGranted(boolean granted) {
        this.granted = granted;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public DefaultUserVO getUser() {
        return user;
    }

    public void setUser(DefaultUserVO user) {
        this.user = user;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public DefaultGroupVO getGroup() {
        return group;
    }

    public void setGroup(DefaultGroupVO group) {
        this.group = group;
    }

    public DefaultOrgVO getOrg() {
        return org;
    }

    public void setOrg(DefaultOrgVO org) {
        this.org = org;
    }

    public DefaultPositionVO getPosition() {
        return position;
    }

    public void setPosition(DefaultPositionVO position) {
        this.position = position;
    }

}
